Skip to content

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Aug 13, 2025

Goodbye, slow compile times

There is no need to update the release pipelines (not in this repo), since I configured them to extract the Go version from go.mod. Phew.

golangci-lint technically does not support this yet (golangci/golangci-lint#5873), but since we custom build the binaries, it works fine.

@Copilot Copilot AI review requested due to automatic review settings August 13, 2025 18:27
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to use Go 1.25, upgrading from Go 1.24. The change aims to improve compilation performance based on the PR description "Goodbye, slow compile times."

  • Updates Go version specification in module files from 1.24 to 1.25
  • Updates gofumpt language version flag from go1.24 to go1.25 across all generation scripts
  • Updates GitHub Actions workflows and documentation to reflect the new Go version requirement

Reviewed Changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates main module Go version from 1.24.2 to 1.25
_tools/go.mod Updates tools module Go version from 1.24.0 to 1.25
_tools/customlint/testdata/go.mod Updates testdata module Go version from 1.24.0 to 1.25
README.md Updates documentation to specify Go 1.25 or higher requirement
.github/workflows/create-cache.yml Simplifies Go version matrix to use 1.25.0 instead of 1.24.0 with special cases
.github/workflows/copilot-setup-steps.yml Removes explicit Go version override, now using default
.github/actions/setup-go/action.yml Updates default Go version from 1.24.0 to 1.25.0
.dprint.jsonc Updates gofumpt language flag from go1.24 to go1.25
Multiple internal files Updates gofumpt language flag in go:generate directives from go1.24 to go1.25

@jakebailey jakebailey added this pull request to the merge queue Aug 13, 2025
@tmm1
Copy link
Contributor

tmm1 commented Aug 13, 2025

Goodbye, slow compile times

Does go 1.25 improve compile times? I didn't see anything mentioned

@jakebailey
Copy link
Member Author

It's sort of niche to us, but yes, see golang/go#72815

Merged via the queue into main with commit cc3d47d Aug 13, 2025
22 checks passed
@jakebailey jakebailey deleted the jabaile/go-1.25 branch August 13, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants